package com.hotel.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CheckIn extends BaseEntity{
    /**
     * 入住表id
     */
    private Integer id;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 房间id
     */
    private Integer roomId;
    /**
     * 预订id
     */
    private Integer reservationId;
    /**
     * 房间类型
     */
    private String roomType;
    /**
     * 入住时间
     */
    private LocalDateTime checkInTime;
    /**
     * 预计离店时间
     */
    private LocalDateTime expectedCheckOutTime;
    /**
     * 实际离店时间
     */
    private LocalDateTime checkOutTime;
    /**
     * 入住状态
     */
    private Integer status;
    /**
     * 入住押金
     */
    private BigDecimal deposit;
    /**
     * 入住金额
     */
    private BigDecimal cost;
}
